﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace RJ.Objects.Common
{
    public static class DrawingExtensions
    {
        public static PointF ToPointF(this Point point)
        {
            return new PointF(point.X, point.Y);
        }

        public static SizeF ToSizeF(this Size size)
        {
            return new SizeF(size.Width, size.Height);
        }
    }
}
